package edu.sctu.practice.class01.fengleilin.test08;

/**
 * Created by fll on 2015/10/14.
 */
public class Vehicles {
    public String brand;
    public String color;

    public void run(){
        System.out.println("我已经开动了");
    }

    public void showInfo(){
        System.out.println("车的商标是:" + brand + "颜色是："+ color);
    }
    public Vehicles(String brand,String color){
        this.brand = brand;
        this.color = color;
    }
}
